package top.xbaoziplus.company.empty;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author xbaozi
 * @description 用户历史记录表
 * @TableName tb_userInfoHistory
 */
@TableName(value ="tb_userInfoHistory")
@Data
@Accessors(chain = true)
public class Userinfohistory implements Serializable {
    /**
     * 记录ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 员工工号
     */
    private Long jobId;

    /**
     * 修改的属性
     */
    private String attribute;

    /**
     * 数值修改前
     */
    private String begin;

    /**
     * 数值修改后
     */
    private String end;

    /**
     * 修改人时间
     */
    private Date time;

    /**
     * 处理人工号
     */
    private Long dealJobId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}